package com.example.microinvestmarket.dao;

import com.example.microinvestcommon.dto.StockSymbolAndDataDto;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CreateStockMapper {

    void insertStockData(String stockName, String stockDataJson);

    String getStockMessage(String stockName);

    //获取股票名称以及data用于更新操作
    StockSymbolAndDataDto[] getStocksAllData();

    //更新股票数据
    void updateStockData(String stockSymbol,String stockNewDataJson);
}
